package com.ibeetl.admin.api.dao;

import com.ibeetl.admin.api.entity.Travel_map_path;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.beetl.sql.mapper.annotation.Update;

import java.util.List;

@SqlResource("api.travelMapPath")
public interface TravelMapPathDao extends BaseMapper<Travel_map_path> {

    List<Travel_map_path> queryByAttractionId(Long attraction_id);

    List<Long> queryNewIdByAttractionId(Long attraction_id);
    @Update
    void updateState(Long path_Id, int state);
    @Update
    void deleteByAttractionId(Long attractionId);
}
